{tpl head}
<div class=""></div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
    <thead>
    <tr>
        <td height="28" align="center"  class="thbt">栏目ID</td>
        <td height="28" align="center"  class="thbt">栏目名称</td>
        <td height="28" align="center"  class="thbt">SEO标题</td>
        <td height="28" align="center"  class="thbt">栏目排序</td>
        <td height="28" align="center"  class="thbt">显示</td>
        <td height="28" align="center"  class="thbt">管理选项</td>

    </tr></thead>
    <tbody>
    {loop $catelist $v}
    <tr align="center">
        <td width='4%' align="center" >{$v.cat_id}</td>
        <td height="20" align="left">&nbsp;&nbsp;&nbsp;{$v.cat_name}</td>
        <td height="20" align="center">{$v.short_name}</td>
        <td height="20" align="center">{$v.sort}</td>
        <td height="20" align="center">{if $v.is_show}
            <a href="?a=notshow&id={$v.cat_id}" class="ok">ok</a>
            {else}
            <a href="?a=yesshow&id={$v.cat_id}" class="no">no</a>
            {/if}</td>
        <td height="20" align="center"><a class="add" href="?c=category&a=info&tid={$v.cat_id}">添加子类</a>
            <a class="view" href="article.php?a=list&id={$v.id}">查看内容</a>
            <a class="mod" href="?c=category&a=info&id={$v.cat_id}">修改</a>
            <a class="del" href="?c=category&a=del&id={$v.cat_id}">删除</a></td>
    </tr>
    {/loop}</tbody>
</table>
{tpl foot}